<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Calculatrice polonais inversé LO21:  Fichier source de /home/yuntux/UTC/GI02/LO21/projet/projet_propre/entier.h</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Calculatrice polonais inversé LO21
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Généré par Doxygen 1.7.6.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Recherche');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Page&#160;principale</span></a></li>
      <li><a href="namespaces.html"><span>Espaces&#160;de&#160;nommage</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Fichiers</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Recherche" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>Liste&#160;des&#160;fichiers</span></a></li>
      <li><a href="globals.html"><span>Membres&#160;de&#160;fichier</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="headertitle">
<div class="title">/home/yuntux/UTC/GI02/LO21/projet/projet_propre/entier.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="entier_8h.html">Aller à la documentation de ce fichier.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 
<a name="l00013"></a>00013 <span class="preprocessor">#ifndef ENTIER_H</span>
<a name="l00014"></a>00014 <span class="preprocessor"></span><span class="preprocessor">#define ENTIER_H</span>
<a name="l00015"></a>00015 <span class="preprocessor"></span>
<a name="l00016"></a>00016 <span class="preprocessor">#include &quot;<a class="code" href="constante_8h.html" title="Calculatrice en polonais inversé. Classe composite de gestion des constantes.">constante.h</a>&quot;</span>
<a name="l00017"></a>00017 
<a name="l00018"></a><a class="code" href="class_entier.html">00018</a> <span class="keyword">class </span><a class="code" href="class_entier.html">Entier</a> : <span class="keyword">public</span> <a class="code" href="class_constante.html">Constante</a>{
<a name="l00019"></a>00019     <span class="keywordtype">int</span> _valeur;
<a name="l00020"></a>00020 
<a name="l00021"></a>00021 <span class="keyword">public</span>:
<a name="l00022"></a><a class="code" href="class_entier.html#a35115c0f47f2d94e1697e20624a1c4d1">00022</a>     <a class="code" href="class_entier.html#a35115c0f47f2d94e1697e20624a1c4d1">Entier</a>(<span class="keywordtype">int</span> e):_valeur(e){}
<a name="l00023"></a>00023     <a class="code" href="class_entier.html#a35115c0f47f2d94e1697e20624a1c4d1">Entier</a>(<a class="code" href="class_constante.html">Constante</a>* c);
<a name="l00024"></a><a class="code" href="class_entier.html#ab44549f9d4abf2fd4425f8e3374cdc08">00024</a>     <span class="keyword">virtual</span> <a class="code" href="class_entier.html#ab44549f9d4abf2fd4425f8e3374cdc08">~Entier</a>(){}
<a name="l00025"></a><a class="code" href="class_entier.html#adc0a7554faa45a68eb7432798b6892cc">00025</a>     <span class="keyword">virtual</span> QString <a class="code" href="class_entier.html#adc0a7554faa45a68eb7432798b6892cc">afficher</a>()<span class="keyword"> const</span>{ <span class="keywordflow">return</span> QString::number(_valeur);}
<a name="l00026"></a><a class="code" href="class_entier.html#afe38ee7f81afc3c88a2c774ff0af2bcd">00026</a>     <span class="keywordtype">int</span> <a class="code" href="class_entier.html#afe38ee7f81afc3c88a2c774ff0af2bcd">getValeur</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> _valeur;}
<a name="l00027"></a><a class="code" href="class_entier.html#a22e1c5d0ecf304cd6033e6bf453cc0c1">00027</a>     <span class="keywordtype">void</span> <a class="code" href="class_entier.html#a22e1c5d0ecf304cd6033e6bf453cc0c1">setValeur</a>(<span class="keywordtype">int</span> v){_valeur=v;}
<a name="l00028"></a>00028 
<a name="l00029"></a>00029     <span class="keyword">virtual</span> <a class="code" href="class_constante.html">Constante</a>* <a class="code" href="class_entier.html#ab093dd3f0aa7777c4300362f7ba78ff4">addition</a>(<a class="code" href="class_constante.html">Constante</a>* c);
<a name="l00030"></a>00030     <span class="keyword">virtual</span> <a class="code" href="class_constante.html">Constante</a>* <a class="code" href="class_entier.html#aa83349a1b984adbd53766ebac2614faf">produit</a>(<a class="code" href="class_constante.html">Constante</a> *c);
<a name="l00031"></a>00031     <span class="keyword">virtual</span> <a class="code" href="class_constante.html">Constante</a>* <a class="code" href="class_entier.html#a36ce54a35fc9ab69bef2cffebee01c69">signe</a>();
<a name="l00032"></a>00032     <span class="keyword">virtual</span> <a class="code" href="class_constante.html">Constante</a>* <a class="code" href="class_entier.html#afc338f1f177942411a3c8e0e19fce6ce">division</a>(<a class="code" href="class_constante.html">Constante</a>* c);
<a name="l00033"></a>00033     <span class="keyword">virtual</span> <a class="code" href="class_constante.html">Constante</a>* <a class="code" href="class_entier.html#a880936c128f077144cd266199cd27585">soustraction</a>(<a class="code" href="class_constante.html">Constante</a>* c);
<a name="l00034"></a>00034     <span class="keywordtype">int</span> <a class="code" href="class_entier.html#a29ebe7b4a2b8e8135736389977339330">mod</a>(<a class="code" href="class_entier.html">Entier</a> *c);
<a name="l00035"></a>00035     <span class="keyword">virtual</span> <a class="code" href="class_constante.html">Constante</a>* <a class="code" href="class_entier.html#a094c16293e7853eafa646d1613db3034">fact</a>();
<a name="l00036"></a>00036     <span class="keyword">virtual</span> <a class="code" href="class_constante.html">Constante</a>* <a class="code" href="class_entier.html#a5e4a3ab5cc280d0e082300207712d5d8">inv</a>();
<a name="l00037"></a>00037     <span class="keyword">virtual</span> <a class="code" href="class_constante.html">Constante</a>* <a class="code" href="class_entier.html#a1c4613f03f0c7818d1a092714b9077bd">sinus</a>(<span class="keywordtype">bool</span> angle);
<a name="l00038"></a>00038     <span class="keyword">virtual</span> <a class="code" href="class_constante.html">Constante</a>* <a class="code" href="class_entier.html#a77e37975ae8575ac9a41d4e41688429a">cosinus</a>(<span class="keywordtype">bool</span> angle);
<a name="l00039"></a>00039     <span class="keyword">virtual</span> <a class="code" href="class_constante.html">Constante</a>* <a class="code" href="class_entier.html#a1b87da533d3a1a7c75c327526f3492c0">sinush</a>(<span class="keywordtype">bool</span> angle);
<a name="l00040"></a>00040     <span class="keyword">virtual</span> <a class="code" href="class_constante.html">Constante</a>* <a class="code" href="class_entier.html#ae7fbbe73ca85a3bad129d2285f7485aa">cosinush</a>(<span class="keywordtype">bool</span> angle);
<a name="l00041"></a>00041     <span class="keyword">virtual</span> <a class="code" href="class_constante.html">Constante</a>* <a class="code" href="class_entier.html#ae07a386db45cb20dddbb3dc8738a4115">tangente</a>(<span class="keywordtype">bool</span> angle);
<a name="l00042"></a>00042     <span class="keyword">virtual</span> <a class="code" href="class_constante.html">Constante</a>* <a class="code" href="class_entier.html#aa8d0a9958c7f7eaf38c60922e2716601">tangenteh</a>(<span class="keywordtype">bool</span> angle);
<a name="l00043"></a>00043     <span class="keyword">virtual</span> <a class="code" href="class_constante.html">Constante</a>* <a class="code" href="class_entier.html#a4bc40041f47a027ef00d3e71869fdaf9">logN</a>();
<a name="l00044"></a>00044     <span class="keyword">virtual</span> <a class="code" href="class_constante.html">Constante</a>* <a class="code" href="class_entier.html#abe28b3a25a9b179d36c35c7081638ab3">log1</a>();
<a name="l00045"></a>00045     <span class="keyword">virtual</span> <a class="code" href="class_constante.html">Constante</a>* <a class="code" href="class_entier.html#ae789623eeda06e02ba54c14dab64c399">puissance</a>(<a class="code" href="class_constante.html">Constante</a> *c);
<a name="l00046"></a>00046     <span class="keyword">virtual</span> <a class="code" href="class_constante.html">Constante</a>* <a class="code" href="class_entier.html#ac93c2be5a977a38c560ee01eae5b9381">carre</a>();
<a name="l00047"></a>00047     <span class="keyword">virtual</span> <a class="code" href="class_constante.html">Constante</a>* <a class="code" href="class_entier.html#ac4aa9142ca284291935f5e2880c3b612">cube</a>();
<a name="l00048"></a>00048     <span class="keyword">virtual</span> <a class="code" href="class_constante.html">Constante</a>* <a class="code" href="class_entier.html#ae5459f97866c5240e8a1417f425b5a05">racine</a>();
<a name="l00049"></a>00049 };
<a name="l00050"></a>00050 
<a name="l00051"></a>00051 <span class="preprocessor">#endif // ENTIER_H</span>
</pre></div></div><!-- contents -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>Tout</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Espaces de nommage</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Fichiers</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Fonctions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Énumérations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Valeurs énumérées</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Macros</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Généré le Samedi Juin 16 2012 23:51:37 pour Calculatrice polonais inversé LO21 par &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>

</body>
</html>
